/**
 * 
 */
package com.rio.dandan.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.rio.dandan.dao.UserVoiceDao;
import com.rio.dandan.pojo.UserVoice;
import com.rio.dandan.service.UserVoiceService;

/**
 * 
 * UserVoiceServiceImpl.java
 * 
 * @author 宋陆
 * @version 1.0 2014年5月22日
 */
@Service
public class UserVoiceServiceImpl implements UserVoiceService {

    @Resource
    private UserVoiceDao userVoiceDao;

    /**
     * @see com.rio.dandan.service.UserVoiceService#getUserVoice(java.lang.String)
     */
    @Override
    public UserVoice getUserVoice(String fileName) {
        return userVoiceDao.getUserVoice(fileName);
    }

    /**
     * @see com.rio.dandan.service.UserVoiceService#findUserVoice(java.lang.String)
     */
    @Override
    public List<UserVoice> findUserVoice(String uid) {
        return userVoiceDao.findUserVoice(uid);
    }

}
